package history

import "time"

const (
    JobStatusQueueing = "q"
    JobStatusRunning  = "r"
    JobStatusSuccess  = "s"
    JobStatusFail     = "f"
    JobStatusUnknown  = "u"
)

type JobRecord struct {
    Id         string
    CreatedAt  time.Time
    UpdatedAt  time.Time
    Controller string
    Worker     string
    Status     string
    Error      string
}
